package com.company.factory.method.impl;

import com.company.factory.method.Car;
import com.company.factory.method.CarFactory;
import com.company.factory.method.impl.Tesla;

public class TeslaFactory implements CarFactory {
    @Override
    public Car getCar() {
        return new Tesla();
    }
}
